﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AJWPFAdmin.Core.Models
{
    public class FtpOptions
    {
        /// <summary>
        /// Ftp地址，默认localhost
        /// </summary>
        public string Host { get; set; }
        /// <summary>
        /// Ftp端口号，默认21
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// User
        /// </summary>
        public string User { get; set; }
        /// <summary>
        /// Password
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 根目录
        /// </summary>
        public string WorkingDirectory { get; set; }
        /// <summary>
        /// 是否主动模式
        /// </summary>
        public bool Active { get; set; } = false;
    }
}
